//
//  OrderCell4.m
//  ZPIOSEducation
//
//  Created by Encoder on 17/1/17.
//  Copyright © 2017年 mini1. All rights reserved.
//

#import "OrderCell4.h"

@implementation OrderCell4

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.selectedBackgroundView = [UIView new];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setType:(NSString *)type{
    if ([type isEqualToString:@"1"]) {
        _typeImage.image = [UIImage imageNamed:@"zhifubao"];
    }else if ([type isEqualToString:@"2"]){
        _typeImage.image = [UIImage imageNamed:@"weixin"];
    }
    _type = type;
}

@end
